<template>
	<view class="item">
		<navigator url="url" class="url">
			<view class="left">{{left}}</view>
			<view class="right">
				{{right}}
				<image src="../../static/img/right.png" mode="widthFix"></image>
			</view>
		</navigator>
	</view>
</template>

<script>
	export default {
		props: {
			"url": {
				type: String,
				default: ""
			},
			"left": {
				type: String,
				default: ""
			},
			"right": {
				type: String,
				default: ""
			}
		},
		data() {
			return {
				width: 40
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.item {
		width: 100vw;
		height: 60px;
		background-color: #fff;

		.url {
			width: 340px;
			height: 60px;
			margin: 0 auto;
			display: flex;
			align-items: center;
			justify-content: space-between;
			border-bottom: 1rpx solid #f0f0f0;
			box-sizing: border-box;

			.left {
				font-size: 16px;
			}

			.right {
				font-size: 16px;
				color: #acacac;

				image {
					margin-left: 7px;
					width: 16px;
				}
			}
		}
	}
</style>
